package rmiserver;

import java.rmi.Remote;
import java.rmi.RemoteException;

import messages.LoginMessage;
import messages.RegisterMessage;

public interface LogonService extends Remote {
	public ServerRemote login(LoginMessage message, ClientRemote client) throws RemoteException;
	public ServerRemote register(RegisterMessage message, ClientRemote client) throws RemoteException;
}
